﻿using System.Web;
using System.Web.Optimization;

namespace YEBHI.MVC.App_Start
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            //BundleTable.Bundles.Clear();
            BundleTable.EnableOptimizations = true;
            //bundles.Clear();

            #region Yebhi
            {
                Bundle jsBundleYebhi = new Bundle("~/JAVASCRIPT/Yebhi",new JsMinify());
                //jsBundleYebhi.IncludeDirectory("~/Views/Yebhi/Content/JAVASCRIPT", "*.js", true);
                jsBundleYebhi.Include("~/Views/Yebhi/Content/JAVASCRIPT/jquery.min.js");
                bundles.Add(jsBundleYebhi);

              
                Bundle cssBundleYebhi = new Bundle("~/CSS/Yebhi", new CssMinify());
                cssBundleYebhi.Include("~/Views/Yebhi/Content/CSS/Yebhi.css");
                bundles.Add(cssBundleYebhi);
            }
            #endregion Yebhi

            /*bundles.Add(new ScriptBundle("~/JAVASCRIPT").Include("~/Views/Yebhi/Content/JAVASCRIPT/jquery.min.js"));
            bundles.Add(new StyleBundle("~/CSS").Include("~/Views/Yebhi/Content/CSS/Yebhi.css"));
             * */




        }
    }
}